package com.hzcx.app.simplechat.ui.publicui.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hzcx.app.simplechat.R;
import com.hzcx.app.simplechat.ui.chat.bean.GdMapPoiBean;

import java.util.List;

public class LocationAdapter extends BaseQuickAdapter<GdMapPoiBean, BaseViewHolder> {
    public LocationAdapter(@Nullable List<GdMapPoiBean> data) {
        super(R.layout.rv_item_location, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, GdMapPoiBean item) {
        helper.setText(R.id.tv_content, item.getTitle());
    }
}
